package com.ruicar.afs.cloud.batch.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.batch.entity.AfsBatchJobStepInfo;
import com.ruicar.afs.cloud.batch.entity.AfsBatchLogStep;
import com.ruicar.afs.cloud.batch.enums.RunStatus;

public interface AfsBatchLogStepService extends IService<AfsBatchLogStep> {
    boolean hasFinish(AfsBatchJobStepInfo afsBatchJobStepInfo, String bhDate);
    RunStatus doLog(AfsBatchJobStepInfo afsBatchJobStepInfo, String bhDate);
    void saveError(AfsBatchJobStepInfo afsBatchJobStepInfo, String errorStack, String bhDate);
    void finished(AfsBatchJobStepInfo afsBatchJobStepInfo, String bhDate);
    AfsBatchLogStep queryError(String bhDate);
}
